package com.econ.powercloud.ems.common.enums;

/**
 * @author zjr
 * @create 2021/7/23 上午10:20
 * @description 策略是否启用
 */
public enum EnabledType implements EnumMethod{
    ENABLE(1, "启用"),
    NOT_ENABLE(0, "未启用"),;

    private Integer code;
    private String desc;

    @Override
    public Integer getCode() {
        return code;
    }

    @Override
    public String getDesc() {
        return desc;
    }

    EnabledType(int code, String desc){
        this.code=code;
        this.desc=desc;
    }

}
